#ifndef TEACHER_H
#define TEACHER_H

#include <QObject>

class Teacher : public QObject
{
    Q_OBJECT
public:
    explicit Teacher(QObject *parent = nullptr);

    //自定义信号
    //1.写在signals下
    //2.返回值是void
    //3.只需要声明, 不需要实现
    //4.可以有参数, 可以重载
signals:
    void hungry();
    //void hungry(QString foodName);

};

#endif // TEACHER_H
